﻿using System;
using FluentNHibernate.Mapping;

namespace OrmSmackdown.NHibernate.FluentMappings
{
    public class RolesMap : ClassMap<Role>
    {
        public RolesMap()
        {
            Id(x => x.RoleId);
            Map(x => x.RoleName);
            References(x => x.UserInRole);
        }
    }
}
